package com.lzc.lblog.lblog.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("auth")
public class AuthController {

    /**
     * 登录
     * @return
     */
    @GetMapping("/login")
    public String login(){
        return "auth/login";
    }

    /**
     * 注册
     * @return
     */
    @GetMapping("/register")
    public String register(){
        return "auth/reg";
    }
}
